package hxy.dragon.location_record.util;

public class Time {
    public static String desplay(Long interval) {
        Long time = interval / 1000;
        String timeValue = null;
        if (time > 180) {
            time = time / 60;
            if (time > 180) {
                time = time / 60;
                timeValue = time + "时";
            } else {
                timeValue = time + "分";
            }
        } else {
            timeValue = time + "秒";
        }
        return timeValue;
    }
}
